---
title: OlkCommandButton.AutoSize Property (Outlook)
keywords: vbaol11.chm1000110
f1_keywords:
- vbaol11.chm1000110
ms.prod: outlook
api_name:
- Outlook.OlkCommandButton.AutoSize
ms.assetid: 7212c7d1-27d9-25f2-e486-e18bc26d77f5
ms.date: 06/08/2017
---


# OlkCommandButton.AutoSize Property (Outlook)

Returns or sets a  **Boolean** that automatically sizes the control to display the entire contents. Read/write.


## Syntax

 _expression_ . **AutoSize**

 _expression_ A variable that represents an **OlkCommandButton** object.


## Remarks

 The default value for this property is **False** .

For a button control, this property specifies whether the control automatically adjusts to display the entire caption value.


## See also


#### Concepts


[OlkCommandButton Object](olkcommandbutton-object-outlook.md)

